import {createStore} from "vuex"


export default createStore({
    state(){
        return{
            isLoading:false
        }
    },
    mutations:{
        showLoading(state){
            state.isLoading = true
        },
        hideLoding(state){
            state.isLoading = false
        }
    }
})